import React, { Component } from 'react';
// import logo from './logo.svg';
import './App.css';
// import Shoppinglist from './components/Shoppinglist';
import './base.css';
import Form1 from './components/Form1';

class App extends Component {

    componentDidMount() {
        // console.log('component did mounted');
    }
    componentWillMount(){
        // console.log('component will mount');
    }
    // constructor(props){
    //     super(props);
    //     // console.log('doong constructor');
    //
    // }
  render() {
        // let Info = (<p>我是一二插入的Info</p>);
    return (
      <div className="App">
          {/*<Shoppinglist name="yangtongtong"/>*/}
        <header className="App-header">
          {/*<img src={logo} className="App-logo" alt="logo" />*/}
          {/*<h1 className="App-title">Welcome to React</h1>*/}
        </header>
          {/*{Info}*/}
        <div className="App-intro">
            <Form1 quote='App.js引用' />
          {/*To get started, edit <code>src/App.js</code> and save to reload.*/}
        </div>
      </div>
    );
  }
}

export default App;
